package com.hongye.backstage.dao;

import com.hongye.backstage.entity.HomeyHouseDetailsEntity;
import com.hongye.backstage.entity.HongyeHouseEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @progam:hongye-house
 * @author:GJS
 * @Time:2022/4/20 18:40
 */
public interface HongyeHouseDao {

    void addHouse(@Param("list") List<HongyeHouseEntity> list);

    List<HongyeHouseEntity> findHouseList();

    int updateHouseList(HongyeHouseEntity hongyeHouseEntity);

    int delectHouseList(Integer hid);

    int updateHouseUid(@Param("hid") Integer hid, @Param("uid") Integer uid);

    List<HomeyHouseDetailsEntity> findHouse();


}
